<template>
	<div class="m_r">
		<header class="top_bar">
			<a onclick="window.history.go(-1)" class="icon_back"></a>
			<h3 class="cartname">关于我们</h3>
		</header>
		<div class="ql-editor">
			<div class="padding_top45" v-html="aboutUs.App">
				
			</div>
		</div>
	</div>
</template>
<script>
	 // require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
	import { Toast } from 'mint-ui';
	export default {
		data() {
			return {
				aboutUs: {}
			}
		},
		mounted() {
			let _this = this
			_this.GetAboutUsData()
		},
		methods: {
			GetAboutUsData: function() {
				let _this = this;
				_this.$http.get('/client/AboutUs', null, localStorage.Authorization, res => {
					console.log('关于我们res', res)
					if(res.code === 200) {
						_this.aboutUs = res.data.list[0];
					}else if(res.code === 101) {
						localStorage.fromPath = _this.$route.fullPath
						_this.$router.push({
							path: '/login'
						})
					}
				})
			}
		}
	}
</script>
<style scoped="scoped">
	@import '../assets/css/reg.css';
	/*@import '../assets/css/fuwenben2.css';*/
</style>
